package com.wss.autodeliver;


import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableDiscoveryClient     //服务发现
@EnableFeignClients
public class OpenFeignAutodeliverApplication8091 {

    public static void main(String[] args) {
        SpringApplication.run(OpenFeignAutodeliverApplication8091.class,args);
    }

    @Bean
    Logger.Level feignLevel() {
        return Logger.Level.FULL;
    }


}
